const express  = require('express');
const router = express.Router();

const userHandler = require('../router_handler/mall_handler.js');

//新增
router.post('/add', userHandler.mallAdd);
// 查询
router.get('/allMall',userHandler.mallAll);
// 编辑
router.post('/edit/:id',userHandler.mallEdit);
// 删除
router.post('/delete/:id',userHandler.mallDelete);

module.exports = router;